package ywxt.tool.stool.common.exception

import java.lang.Exception

sealed class BusinessException(
    val msg: String,
    private val logging: String,
    val code: Int
) : Exception("$msg $logging") {

    val loggingInfo = "$msg $logging"

    override fun toString() = loggingInfo

}
